package com.jingdianjichi.subject.domain.handler.subject;

import com.jingdianjichi.subject.common.enums.SubjectInfoTypeEnum;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdianjichi.subject.domain.entity.SubjectOptionBO;

/**
 * @program: jc-club
 * @description:
 * @author: DY
 * @create: 2024-01-16 15:41
 **/

public interface SubjectTypeHandler {

    /**
     * 枚举身份的识别
     * */
    SubjectInfoTypeEnum getHandlerType();


    /**
     * 实际题目的插入
     */
    void add(SubjectInfoBO subjectInfoBO);

    /**
     * 题目的查询
     */
    SubjectOptionBO query(int subjectId);
}